-- GENERATED SPELL FOR [Heartrazor] --


function spell0_5934(pUnit, Event) --@Lethal Toxin,n/a--
pUnit:FullCastSpellOnTarget(8256,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_5934', 3000, 1)
end

function Sorts_5934(pUnit, Event)
local choix_sorts_5934 = math.random(0, 0)
if choix_sorts_5934 == 0 then
pUnit:RegisterEvent('spell0_5934', 1, 1)
end
end

function mob5934_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5934', math.random(1500, 3000), 1)
end

function mob5934_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5934_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5934_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5934, 1, 'mob5934_Action')
RegisterUnitEvent(5934, 2, 'mob5934_Leave')
RegisterUnitEvent(5934, 3, 'mob5934_Kill')
RegisterUnitEvent(5934, 4, 'mob5934_Die')
